package edu.bw.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/product")
public class ProductController {


    @GetMapping("/list")
    public @ResponseBody String list(){
        System.out.println("查询商品信息");
//        int i=1/0;
        return "success";
    }


}
